/**
 * @author Unicus Animus
 */
import java.util.*;

public class TestMaxUsingMethod {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        int j = scanner.nextInt();
        System.out.println(max(i, j));
    }
    
    public static int max(int i, int j) {
        int res;
        if(i > j)
            res = i;
        else
            res = j;
        return res;
    }
}